package Model;

/** Global Direction with a weight (int) */
public class DirectionWeighted 
{
	// ATTRIBUTES
	private Direction direction;
	private int weight;
	
	// CONSTRUCTORS
	public DirectionWeighted()
	{}
	
	public DirectionWeighted(Direction direction, int weight)
	{
		this.direction = direction;
		this.weight = weight;
	}
	
	// OWN FUNCTIONS
	public void displayInTerminal()
	{
		System.out.println(direction + " - " + weight);
	}
	//GETTER - SETTER
	public Direction getDirection() 
	{
		return direction;
	}
	
	public void setDirection(Direction direction) 
	{
		this.direction = direction;
	}
	
	public int getWeight() 
	{
		return weight;
	}
	
	public void setWeight(int weight) 
	{
		this.weight = weight;
	}
	

}
